//路由模块
import { Routes } from '@angular/router';
//引入需要路由的组件
import { AllPeopleComponent } from './all-people/all-people.component';
import { FirstComeComponent } from './first-come/first-come.component';
import { LastLeaveComponent } from './last-leave/last-leave.component';


export const rootRouterConfig: Routes = [
    {
      path: 'all-people', //http://localhost:4200/all-people
      component: AllPeopleComponent
    },
    {
        path: 'first-come', //http://localhost:4200/first-come
        component: FirstComeComponent
    },
    {
        path: 'last-leave', //http://localhost:4200/last-leave
        component: LastLeaveComponent
    }
  ];